package com.common.rxbus.postevent;

/**
 * @desc:         用于RxBus传递标志量
 * @author:       Leo
 * @date:         2017/1/6
 */
public class RxKeyEvent
{
    public static final String HAS_MODIFY = "has_modify";
    public static final String CLICK_ADDRESS = "click_address";
    public static final String ADDCAR = "ADDCAR";
    public static final String NOW_CHOOSE_CAR = "NOW_CHOOSE_CAR";
    public static final String ORDER_STUTAS = "ORDER_STUTAS";
    public static final String ADD_GOODS = "add_goods";
    public static final String COLSE_LAST_ACTIVITY = "COLSE_LAST_ACTIVITY";
    public static final String SWITCH_TO_SORT = "SWITCH_TO_SORT";
    public static final String ORDER_REFRASH = "ORDER_REFRASH";
    public static final String SWITCH_TO_SORT_SOMEONE = "SWITCH_TO_SORT_SOMEONE";
    public static final String CHAT_BILITY = "chat_bility";
    public static final String WANSHAN = "WANSHAN";
    public static final String REFRESH_CIRCLE = "REFRESH_CIRCLE";
    public static final String CLICK_CHAT_IMG = "click_chat_img";
    public static final String USE_JUAN = "USE_JUAN";
    public static final String ORDER_STATUS_CHANGE = "ORDER_STATUS_CHANGE";
    public static final String MONEY_CHANGE = "MONEY_CHANGE";
    private Object value;
    private String key;

    /** 强制下线 */
    public static final String FORCE_LOGOUT = "FORCE_LOGOUT";
    public static final String WANGYI_ACCOUNT = "WANGYI_ACCOUNT";

    public static final String AV_SEND_GIFT = "AV_SEND_GIFT";

    /** 登录了 */
    public static final String HAS_LOGIN = "HAS_LOGIN";
    public static final String SETCHAT_SUCCESS = "HAS_LOGIN";
    public static final String CHAT_HAS_LOGIN = "CHAT_HAS_LOGIN";
    /** 开启条形码扫描 */
    public static final String CODE_START_QR = "CODE_START_QR";
    /** 开启条形码输入 */
    public static final String CODE_START_IN = "CODE_START_IN";

    /** 选择省市区返回标志 */
    public static final String PROVINCE_NAME = "PROVINCE_NAME";
    public static final String CITY_NAME = "CITY_NAME";
    public static final String AREA_NAME = "AREA_NAME";
    public static final String FINISH_ALL = "FINISH_ALL";
    public static final String CLEAR_ALL = "CLEAR_ALL";

    /** 接收消息 */
    public static final String GET_SESSAGE = "GET_SESSAGE";
    /** 地址保存成功 */
    public static final String ADDRESS_SAVE_SUCCESS = "ADDRESS_SAVE_SUCCESS";
    public static final String VERIFY_SUCCESS = "VERIFY_SUCCESS";

    /** 定位成功 */
    public static final String LOCATION_SUCCESS = "LOCATION_SUCCESS";
    public static final String LOCATION_CHECK_SUCCESS = "LOCATION_CHECK_SUCCESS";

    /** 个人设置修改成功 */
    public static final String NICKNAME_SET_SUCCESS = "NICKNAME_SET_SUCCESS";
    public static final String AVATOR_SET_SUCCESS = "AVATOR_SET_SUCCESS";
    public static final String INTEGRATER_CHANGED = "INTEGRATER_CHANGED";

    /** 图片返回标志 */
    public static final String PICTURE_IS_RESULT = "PICTURE_IS_RESULT";

    /** 药品搜索 */
    public static final String MEDICATION_SEARCH = "MEDICATION_SEARCH";
    /** 购物车添加成功 */
    public static final String CART_CHANGE_SUCCESS = "CART_CHANGE_SUCCESS";
    public static final String CART_CHECK_SUCCESS = "CART_CHECK_SUCCESS";
    public static final String UPDATE_CHECK_SUCCESS = "UPDATE_CHECK_SUCCESS";
    public static final String ORDER_COUNT_CHANGE = "ORDER_COUNT_CHANGE";
    public static final String ORDER_CONFIRM_SUCCESS = "ORDER_CONFIRM_SUCCESS";

    public static final String MEDICAL_CONTENT = "MEDICAL_CONTENT";
    public static final String MEDICAL_ID = "MEDICAL_ID";
    public static final String WITHDRAW_SUCCESS = "WITHDRAW_SUCCESS";
    public static final String ADD_FEE_CHANGE = "ADD_FEE_CHANGE";

    // 服饰详情界面规格点击
    public static final String DRESS_TYPE = "DRESS_TYPE";
    // 刷新积分
    public static final String UPDATE_INTEGRATE = "UPDATE_INTEGRATE";
    // 购物车编辑
    public static final String YY_CART_CHANGE = "YY_CART_CHANGE";

    // 资讯刷新
    public static final String UPDATE_INFO = "UPDATE_INFO";
    // 问答刷新
    public static final String UPDATE_QUESTION = "UPDATE_QUESTION";


    /*************************  问答模块  *********************************/
    public static final String CREATE_QUESTION = "CREATE_QUESTION";

    public RxKeyEvent(String key, Object value) {
        this.value = value;
        this.key = key;
    }

    public Object getValue() {
        return value;
    }

    public String getKey() {
        return key;
    }
}
